package com.offcn.categroy.dao;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CategroyDao {
    //统计分类数量
    @Select("select count(*) from categroymovietable")
    int countCategroy();
    @Select("SELECT DISTINCT `categroy` FROM `categroymovietable` ")
    public List<String> queryCategroyNameList();
}
